<template>
  <div>
    <OrderTable ref="refOrderList" :statusList="statusList" :statusValue="statusValue"
                @viewAbnormalCause="viewAbnormalCause"/>
  </div>
</template>

<script>
import OrderTable from "@/views/order/components/OrderTable.vue";
import {specialCause} from "@/api/order/orderApi";

export default {
  name: "problemOrder",
  components: {
    OrderTable
  },
  data() {
    return {
      statusList: ['701'],
      statusValue: "701"
    }
  },
  created() {

  },
  methods: {
    // 查看异常原因
    viewAbnormalCause(row) {
      specialCause({orderId: row.orderId}).then(res => {
        // this.isShowAbnormalCause = true
        this.$alert(res, '订单异常原因', {
          confirmButtonText: '确定',
        });
      })
    },
  }
}
</script>

<style scoped>

</style>
